package chapter06;

/**
 * Created by V5470-I5 on 2016/3/24.
 */
public abstract class Fish implements Swimmer {
    protected  String name;
    public Fish(String name){
        this.name=name;
    }
    public String getName(){
        return name;
    }
    @Override
    public abstract void swim();
}
